﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Drawing;

namespace BGCOP.CAVTOP.WINFORMS
{
    static class Program
    {
        // Fields...generales para applicacion winforms
        private static int _IdUsuarioActual;
        private static string _PermisoActual;
        private static string _UsrActual;
        public static Bitmap Imagen { get; set; }
        public static string usrAct2 { get; set; }

        #region definiciones
                                        public static string UsrActual
        {
            get { return _UsrActual; }
            set
            {
                _UsrActual = value;
            }
        }


                                        public static string permisoActual
        {
            get { return _PermisoActual; }
            set
            {
                _PermisoActual = value;
            }
        }


                                        public static int idUsuarioActual
        {
            get { return _IdUsuarioActual; }
            set
            {
                _IdUsuarioActual = value;
            }
        }
        
        #endregion

        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run(new frmReporteMarcacionesVisitantes());
            frmLogIn fl = new frmLogIn();
            if (fl.ShowDialog() == DialogResult.OK)
            {
                Application.Run(new frmPrincipal());
                //Application.Run(new frmPruebaFuentecs()); 
            }
            
            
        }
    }
}
